include_rules = [
  "+content/public/browser",
  "+content/public/common",
  "+content/public/test",
  "+components/app_restore",
  "+components/services/app_service/public",
  "+components/keyed_service",
  "+components/user_manager",
  "+extensions",
  # app_shell may depend on apps, but not vice versa.
  "-extensions/shell",
  "+net/base",
  "+services/service_manager",
]

specific_include_rules = {
  "(.*test\.cc|.*test_mac\.mm)": [
    "+chrome/browser/extensions/extension_browsertest.h",
    "+chrome/browser/extensions/load_error_reporter.h",
    "+chrome/browser/extensions/test_extension_environment.h",
    "+chrome/browser/profiles/profile_manager.h",
    "+chrome/browser/ui/simple_message_box_internal.h",
    "+chrome/common/chrome_switches.h",
    "+chrome/test/base/testing_profile.h",
    # Temporary allowed testing include.
    # TODO(benwells): Move app_browsertest_util into apps component once there
    # is an apps shell to test with.
    "+chrome/browser/apps/platform_apps/app_browsertest_util.h",
    # Pieces of the extensions system that need to move to src/extensions.
    # See http://crbug.com/162530 for details.
    "+chrome/browser/extensions/api/file_system/file_system_api.h",
    # To access sandbox includes.
    "+sandbox/policy",
  ],
}
